import React from 'react';
import { Link } from 'react-router-dom';

export default () => {
  return (
    <div>
      <Link style={{ color: 'red', background: '#fff', marginRight: 10 }} to="/home1">/home1</Link>
      <Link style={{ color: 'red', background: '#fff', marginRight: 10 }} to="/home2">/home2</Link>
    </div>
  );
};